package com.ruoyi.common.dto;

/**
 * @author : LZC
 * @date : Created in 17:29 2018/3/28
 */
public class ResponseDto implements IData{
    private String message;
    private Exception exception;
    private boolean hasError = false;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
        this.hasError = true;
    }

    public boolean isHasError() {
        return hasError;
    }

    public void setHasError(boolean hasError) {
        this.hasError = hasError;
    }
}
